package com.ys.entity.business;

import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_amazonproduct].[dbo].TP_AmazonShopProductCountAll", catalog="Id")
public class TpAmazonShopProductCountAll extends BaseEntity<TpAmazonShopProductCountAll> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="ShopProductGuid", nameJava="shopProductGuid", typeDataBase="varchar")
	private String shopProductGuid;
	@YsField(nameDataBase="Info", nameJava="info", typeDataBase="text")
	private String info;
	@YsField(nameDataBase="InfoTime", nameJava="infoTime", typeDataBase="char")
	private String infoTime;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpAmazonShopProductCountAll setId(Long id) {
		this.id = id;
		return this;
	}
	public String getShopProductGuid() {
		return shopProductGuid;
	}
	public TpAmazonShopProductCountAll setShopProductGuid(String shopProductGuid) {
		this.shopProductGuid = shopProductGuid;
		return this;
	}
	public String getInfo() {
		return info;
	}
	public TpAmazonShopProductCountAll setInfo(String info) {
		this.info = info;
		return this;
	}
	public String getInfoTime() {
		return infoTime;
	}
	public TpAmazonShopProductCountAll setInfoTime(String infoTime) {
		this.infoTime = infoTime;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpAmazonShopProductCountAll setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpAmazonShopProductCountAll setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpAmazonShopProductCountAll setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpAmazonShopProductCountAll tpAmazonShopProductCountAll(
		String shopProductGuid,
		String info,
		String infoTime,
		Integer status
			) {
		TpAmazonShopProductCountAll entity = new TpAmazonShopProductCountAll();
		entity.setShopProductGuid(shopProductGuid);
		entity.setInfo(info);
		entity.setInfoTime(infoTime);
		entity.setStatus(status);
		return entity;
	}
}